MATH = chitu_math.o
BASE = chitu_base.o
MAIN = chitu.o
OBJS = $(BASE) $(MAIN) $(MATH)
CFLAGS= -O3 -std=c99  -Wall -DLOSU_LINUX  -I ../buildenv -fPIC 
CC=x86_64-linux-gnu-gcc
T=ElsLib_chitu.lsd


all: $T 

$T:	$(OBJS)
	$(CC) -o $@ $(OBJS) $(BASE) $(MATH) -shared -lm -s -lc

clean:
	rm -rf $T $(OBJS) $(BASE) $(MATH) core core.* 